Crate iced_core

source ·
Expand description

The core library of Iced.

This library holds basic types that can be reused and re-exported in different runtime implementations. For instance, both iced_native and iced_web are built on top of iced_core.

The foundations of the Iced ecosystem

Re-exports

Modules

  • Align and position widgets.
  • Listen to keyboard events.
  • Handle mouse events.
  • Keep track of time, both in native and web platforms!

Macros

  • Creates a Color with shorter and cleaner syntax.

Structs

  • A color in the sRGB color space.
  • An amount of space to pad for each side of a box
  • An amount of logical pixels.
  • A 2D point.
  • A rectangle.
  • An amount of space in 2 dimensions.
  • A 2D vector.

Enums

  • The background of some element.
  • The strategy used to fit the contents of a widget to its bounding box.
  • A font.
  • The strategy used to fill space in a specific dimension.